package com.axjy.item.mapper;

import com.axjy.comm.pojo.TpItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.*;

public interface ItemMapper extends BaseMapper<TpItem> {

    @Select("select * from tp_item where item_type1_id=#{itemTypeId} order by updated_Time desc,created_Time desc limit #{top}")
    List<TpItem> find4Floor(@Param("itemTypeId") Integer itemTypeId,@Param("top") Integer top);
}
